package com.imooc.utils;

import java.util.Random;

/**
 * @author Administrator
 * @Title: KeyUtil
 * @ProjectName sell
 * @Description:
 * @date 2018/12/7/00715:36
 */
public class KeyUtil {
    public  static  synchronized String getUniqueKey(){
        Random random =new Random();

         Integer a=random.nextInt(900000)+100000;

        return System.currentTimeMillis()+String.valueOf(a);
    }
}
